//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-04A
TN_Widget.CreateTable([['Dwight Yoakam','Orpheum Theater - New Orleans','New Orleans, LA','Thursday','5/9/2024','8:00 PM','6090292','Dwight-Yoakam-5-9-2024'],['Big As Texas Music & Food Festival: Thomas Rhett, Dierks Bentley & Billy Strings - 3 Day Pass','Montgomery County Fairgrounds - Conroe','Conroe, TX','Friday','5/10/2024','TBD','6031424','Big-As-Texas-Music---Food-Festival--Thomas-Rhett--Dierks-Bentley---Billy-Strings---3-Day-Pass-5-10-2024'],['Dwight Yoakam','Shreveport Municipal Memorial Auditorium','Shreveport, LA','Friday','5/10/2024','8:00 PM','6088656','Dwight-Yoakam-5-10-2024'],['Big As Texas Music & Food Festival: Billy Strings, Dwight Yoakam & Warren Zeiders (Time: TBD) - Saturday','Montgomery County Fairgrounds - Conroe','Conroe, TX','Saturday','5/11/2024','12:00 PM','6052076','Big-As-Texas-Music---Food-Festival--Billy-Strings--Dwight-Yoakam---Warren-Zeiders--Time--TBD----Saturday-5-11-2024'],['Dwight Yoakam','Mountain Winery','Saratoga, CA','Friday','5/17/2024','7:30 PM','6227699','Dwight-Yoakam-5-17-2024'],['Dwight Yoakam','Silver Legacy Casino','Reno, NV','Saturday','5/18/2024','8:00 PM','6251450','Dwight-Yoakam-5-18-2024'],['Dwight Yoakam','Blue Note Summer Sessions at Meritage Resort','Napa, CA','Sunday','5/19/2024','7:00 PM','6258978','Dwight-Yoakam-5-19-2024'],['Dwight Yoakam & The Mavericks','The Anthem - D.C.','Washington, DC','Friday','5/31/2024','7:00 PM','6303479','Dwight-Yoakam---The-Mavericks-5-31-2024'],['Railbird Music Festival: Noah Kahan, Turnpike Troubadours, Chris Stapleton & Hozier - 2 Day Pass','The Red Mile','Lexington, KY','Saturday','6/1/2024','TBD','6131986','Railbird-Music-Festival--Noah-Kahan--Turnpike-Troubadours--Chris-Stapleton---Hozier---2-Day-Pass-6-1-2024'],['In the Pines Music Festival: Dwight Yoakam','Downtown Bristol - VA','Bristol, VA','Saturday','6/1/2024','2:00 PM','6286179','In-the-Pines-Music-Festival--Dwight-Yoakam-6-1-2024'],['Railbird Music Festival: Chris Stapleton & Hozier - Sunday','The Red Mile','Lexington, KY','Sunday','6/2/2024','12:00 PM','6131990','Railbird-Music-Festival--Chris-Stapleton---Hozier---Sunday-6-2-2024'],['Dwight Yoakam & The Mavericks','Atrium Health Amphitheater','Macon, GA','Thursday','6/13/2024','7:00 PM','6303481','Dwight-Yoakam---The-Mavericks-6-13-2024'],['Dwight Yoakam & The Mavericks','Red Hat Amphitheater','Raleigh, NC','Friday','6/14/2024','7:00 PM','6303482','Dwight-Yoakam---The-Mavericks-6-14-2024'],['Dwight Yoakam & The Mavericks','Skyla Credit Union Amphitheatre','Charlotte, NC','Saturday','6/15/2024','7:00 PM','6303483','Dwight-Yoakam---The-Mavericks-6-15-2024'],['Dwight Yoakam & The Mavericks','Big Sky Brewing Company','Missoula, MT','Thursday','7/18/2024','7:00 PM','6303357','Dwight-Yoakam---The-Mavericks-7-18-2024'],['Dwight Yoakam','First Interstate Center for the Arts','Spokane, WA','Friday','7/19/2024','7:00 PM','6298597','Dwight-Yoakam-7-19-2024'],['Dwight Yoakam & The Mavericks','Angel of the Winds Arena','Everett, WA','Saturday','7/20/2024','7:00 PM','6303484','Dwight-Yoakam---The-Mavericks-7-20-2024'],['Dwight Yoakam & The Mavericks','Greek Theatre - Los Angeles CA','Los Angeles, CA','Thursday','7/25/2024','7:30 PM','6304261','Dwight-Yoakam---The-Mavericks-7-25-2024'],['Dwight Yoakam & The Mavericks','Findlay Toyota Center','Prescott Valley, AZ','Saturday','7/27/2024','7:00 PM','6303485','Dwight-Yoakam---The-Mavericks-7-27-2024'],['Dwight Yoakam & The Mavericks','Pinewood Bowl Theater','Lincoln, NE','Friday','8/9/2024','6:30 PM','6303487','Dwight-Yoakam---The-Mavericks-8-9-2024'],['Dwight Yoakam & The Mavericks','The Ledge Waite Park Amphitheater','Waite Park, MN','Saturday','8/10/2024','6:30 PM','6374039','Dwight-Yoakam---The-Mavericks-8-10-2024'],['Dwight Yoakam & The Mavericks','Bluestem Center for the Arts Amphitheatre','Moorhead, MN','Sunday','8/11/2024','6:00 PM','6303333','Dwight-Yoakam---The-Mavericks-8-11-2024'],['Dwight Yoakam & The Mavericks','Hartman Arena','Valley Center, KS','Thursday','8/22/2024','7:00 PM','6303488','Dwight-Yoakam---The-Mavericks-8-22-2024'],['Dwight Yoakam & The Mavericks','Cook's Garage','Lubbock, TX','Friday','8/23/2024','8:00 PM','6303332','Dwight-Yoakam---The-Mavericks-8-23-2024'],['Dwight Yoakam & The Mavericks','Kit Carson Park','Taos, NM','Saturday','8/24/2024','7:30 PM','6310382','Dwight-Yoakam---The-Mavericks-8-24-2024'],['Dwight Yoakam','Simmons Bank Arena','North Little Rock, AR','Friday','9/13/2024','8:00 PM','6303489','Dwight-Yoakam-9-13-2024'],['Dwight Yoakam','Paul Paul Theater at Fresno Fairgrounds','Fresno, CA','Monday','10/14/2024','7:00 PM','6362978','Dwight-Yoakam-10-14-2024']],'Dwight Yoakam','http://www.ticketnetwork.com/ticket/Dwight-Yoakam-events.aspx');